/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dell
 * Date: 2024-01-10
 * Time: 11:53
 */
public class test {
    public static void main(String[] args) {
//        Queue queue=new Queue(3);
//        System.out.println(queue.enQueue(1));
//        System.out.println(queue.enQueue(2));
//        System.out.println(queue.enQueue(3));
//        System.out.println(queue.enQueue(4));
//        System.out.println(queue.Rear());
//        System.out.println(queue.isFull());
//        System.out.println(queue.deQueue());
//        System.out.println(queue.enQueue(4));
//        System.out.println(queue.Rear());
        MyStack stack=new MyStack();
        stack.push(1);
        stack.push(2);
        System.out.println(stack.top());
        System.out.println(stack.pop());
        System.out.println(stack.empty());
    }
}